<div class="withdrawal">
    <div class="projectBox">
        <div>
            <input type="checkbox" onclick="selectAll()" id="checkall" style="margin: 6px 0 0 4px;">
            <div style="flex: 2.5;">项目名称</div>
            <div>单价</div>
            <div>数量</div>
            <div>应收</div>
            <div>实收</div>
            <div style="flex: 1.5;" class="beyond" title="积分优惠券抵扣">积分优惠券抵扣</div>
            <div>可退数量</div>
            <div>需退数量</div>
        </div>
        @for(payService in payServiceList){
        <div class="backOrders">
            <input type="checkbox" name="checkedres" class="checkone" onclick="checkOrder(this)" style="margin: 6px 0 0 4px;">
            <input type="hidden" id="deductionTypeName" value="${payService.deductionTypeName}">
            <div class="payServiceName beyond" style="flex: 2.5;" title="${payService.payServiceName}">${payService.payServiceName}</div>
            <div class="payService">${payService.payService}</div>
            <div class="payServiceNum1">${payService.payServiceNum}</div>
            <div class="foldingPay">${payService.foldingPay}</div>
            <div class="serviceActualPay">${payService.serviceActualPay+payService.depositAmount}</div>
            @if(payService.type == '2'){  //优惠券
            <div style="flex: 1.5;">${payService.deductionAmount}<div style="display: none" class="integrals">0</div></div>
            @}
            @if(payService.type == '1'){  //积分
            <div class="integrals" style="flex: 1.5;">${payService.deductionAmount}</div>
            @}
            @if(payService.deductionTypeName == ''|| payService.deductionTypeName == null ){
            <div class="integrals" style="flex: 1.5;">0.0</div>
            @}
            <div class="payServiceNum">${payService.payServiceNum}</div>
            <div><input type="text" value="${payService.payServiceNum}" class="payServiceNumST" oninput="retreatNumber(this)" style="width: 60px;text-align: center"></div>
            <input class="id2" value="${payService.id2}" type="hidden" />
            <input class="arrears" value="${payService.arrears}" type="hidden" />
        </div>
        @}
    </div>
    <div class="moneyBox">
        <div>
            <div style="flex: none;width: 70px;">总计</div>
            <div>应收：<span id="totalFoldingPay"></span></div>
            <div>实收：<span id="totalServiceActualPay"></span></div>
            <div>退实收：<span id="totalServiceActualPay1"></span></div>
            <div>退后应收：<span>0</span></div>
            <div>退后实收：<span>0</span></div>
        </div>
        <div class="moneySpanBox">
            <div>
                <span>退款金额</span>
                <input readonly="readonly" id="totalServiceActualPay2" type="text" value="0" style="width: 55%;">
            </div>
            <div style="flex: 1.3">
                <span>退款时间</span>
                <input type="text" id="refundTime1" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
            </div>
            <div>
                <span>退款人</span>
                <select id="refundPeople1"></select>
            </div>
        </div>
        <div class="moneySpanBox">
            <div style="flex: 2.2">
                <span style="vertical-align: top;">备注</span>
                <textarea name="remarks1" id="remarks1" style="width: 78%;"></textarea>
            </div>
            <div style="text-align: right;margin-bottom: -10px;">
                <button onclick="retreatCheckedOrder(this)" type="button" class="btn btnStyle">退款</button>
                <button onclick="closesd()" type="button" class="btn btnStyle">取消</button>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/tcCenter/consultant/refund_retirement.js?v=20200628"></script>